package com.mhc.haval.api.service;

import com.mhc.haval.api.dto.AuditQuotaDTO;
import com.mhc.haval.exception.HavalCommonException;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by Churry on 2017/10/11.
 */
@FeignClient("HAVAL")
@RequestMapping("/feign/IAuditQuotaService")
public interface IAuditQuotaService {

    /**
     * 获取审批额度详情
     *
     * @param staffId
     * @return
     */
    @RequestMapping(value = {"/getAuditQuotaDetailByStaffId"}, method = {RequestMethod.GET})
    AuditQuotaDTO getAuditQuotaDetailByStaffId(@RequestParam("staffId") Long staffId) throws HavalCommonException;

}
